.cm-anchor {
    position: relative;
    padding-left: 2px;
}
.cm-anchor-ink {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    &::before {
        content: " ";
        position: relative;
        width: 2px;
        height: 100%;
        display: none;
        background-color: #e8eaec;
        margin: 0 auto;
    }
}
.cm-anchor-link {
    // padding: 6px 0 6px 12px;
    padding-left: 12px;
    line-height: 1.5;
}
.cm-anchor-show {
    &::before {
        display: block;
    }
}
.cm-anchor-ink-ball {
    display: inline-block;
    position: absolute;
    border: 1px solid var(--cui-color-primary);
    background-color: #fff;
    -webkit-transition: top .2s ease-in-out;
    transition: top .2s ease-in-out;
}
.cm-anchor-link-title:only-child {
    margin-bottom: 0;
}
.cm-anchor-link-title {
    background: transparent;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    padding: 6px 0;
    
    display: block;
    position: relative;
    -webkit-transition: all .3s;
    transition: all .3s;
    color: var(--cui-color-text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    // margin-bottom: 8px;
}

.cm-anchor-small {
    .cm-anchor-link-title {
        font-size: 12px;
        padding: 4px 0;
    }
}